<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<s:errors/>
<s:hidden name="creatureDTO.id"></s:hidden>
<table class="editForm">
    <tr>
        <th><s:label for="c1" name="creature.name"/></th>
        <td><s:text id="c1" name="creatureDTO.name"/></td>
    </tr>
    <tr>
        <th><s:label for="c2" name="creature.weight"/></th>
        <td><s:text id="c2" name="creatureDTO.weight"/></td>
    </tr>

    <tr>
        <th><s:label for="c3" name="creature.height"/></th>
        <td><s:text id="c3" name="creatureDTO.height"/></td>
    </tr>
    <tr>
        <th><s:label for="c4" name="creature.hp"/></th>
        <td><s:text id="c4" name="creatureDTO.actualHitPoints"/></td>
    </tr>
    <tr>
        <th><s:label for="c5" name="creature.type"/></th>
        <td>
            <s:select name="creatureDTO.creatureTypeDTO.id">
                <s:options-collection collection="${ab.allCreatureTypes}" label="name" value="id"/>
            </s:select>
        </td>
    </tr>
    <tr>
        <th><s:label for="c6" name="creature.region"/></th>
        <td>
            <s:select name="creatureDTO.regionDTO.id">
                <s:options-collection collection="${ab.allRegions}" label="name" value="id"/>
            </s:select>
        </td>        
    </tr>
</table>
